import Log4R from "shared/component/log/Log4R";
import { ObjectServiceImpl } from "shared/modules/obj/service/ObjectServiceImpl";
import { objectClient, scenceClient } from "./clientLib";

const loginfo = Log4R.getLog('info');
/** 实例监听 */

/* 实例产生过滤 */
objectClient.onObjCreate(c => {
    if (c.IsA('Configuration')) {
        [
            () => scenceClient.filterObj(c),
        ].find(f => f())
    }

    // loginfo?.info('onObjCreate', c)
})
